package com.gfxy.modules.educationandservice.service;

import com.gfxy.modules.common.entity.TreeItemModel;
import com.gfxy.modules.educationandservice.entity.EducationAndService;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @Description: 育人与服务
 * @Author: jeecg-boot
 * @Date: 2021-10-06
 * @Version: V1.0
 */
public interface IEducationAndServiceService extends IService<EducationAndService> {

    void saveAll(String date, String orgCode,String workNo, List<EducationAndService> educationAndServices);

    Map queryTotalScore(String date, String workNo);

    List<Map> queryTotalScoreByOrgCodeAndDate(String date, String orgCode);

    Result<?> importExcel(MultipartFile file) throws IOException;


    List<EducationAndService> queryEducationAndServiceByDateAndTeacherId(String date, String teacherId);

}
